sesl.androidx
Toggle table of contents
main
Platform filter
main
Switch theme
Search in API
sesl.androidx
fragment
/
androidx.fragment.app
/
[main]FragmentContainer
Fragment
Container
abstract
class
FragmentContainer
(
source
)
Callbacks to a
Fragment
's container.
Inheritors
FragmentHostCallback
Members
Constructors
Fragment
Container
Link copied to clipboard
constructor
(
)
Functions
instantiate
Link copied to clipboard
@
NonNull
open
fun
instantiate
(
@
NonNull
context
:
Context
,
@
NonNull
className
:
String
,
@
Nullable
arguments
:
Bundle
)
:
Fragment
Creates an instance of the specified fragment, can be overridden to construct fragments with dependencies, or change the fragment being constructed.
on
Find
View
By
Id
Link copied to clipboard
@
Nullable
abstract
fun
onFindViewById
(
@
IdRes
id
:
Int
)
:
View
Return the view with the given resource ID.
on
Has
View
Link copied to clipboard
abstract
fun
onHasView
(
)
:
Boolean
Return
true
if the container holds any view.